package com.bw.service;

import com.bw.mapper.TmsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class TmsServiceImp  implements TmsService{
    @Autowired
    TmsMapper tmsMapper;
    @Override
    public List<Map> findTotal(String newDate) {
        return tmsMapper.findTotal(newDate);
    }

    @Override
    public List<Map> findPro(String newDate) {
        return tmsMapper.findPro(newDate);
    }

    @Override
    public List<Map> findCity(String newDate, String status, String name) {
        return tmsMapper.findCity(newDate,status,name);
    }

    @Override
    public List<Map> findDistance(String newDate, String status) {
        return tmsMapper.findDistance(newDate,status);
    }
}
